//
//  LAB_AdjustView.m
//  Camera
//
//  Created by Bodi on 16/8/20.
//  Copyright © 2016年 葛海一. All rights reserved.
//

#import "LAB_AdjustView.h"

@interface LAB_AdjustView ()
@property (nonatomic, retain)UISlider *slide;

@end

@implementation LAB_AdjustView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
//        self.slide = [[UISlider alloc]initWithFrame:self.bounds];
//        [self.slide addTarget:self action:@selector(sliderAction:) forControlEvents:UIControlEventValueChanged];
//        [self addSubview:self.slide];
        
        [self setProperty];
    }
    return self;
}
-(void)setProperty
{
    self.slide.minimumValue = 2.0;
    self.slide.maximumValue = 100.0;
    
    self.slide.minimumTrackTintColor = [UIColor redColor];
    self.slide.maximumTrackTintColor = [UIColor whiteColor];
    self.slide.continuous = NO;
//    self.minimumValueImage = [UIImage imageNamed:@"low"];
//    self.maximumValueImage = [UIImage imageNamed:@"high"];
    //设置高音量
    
    //    //获取图片路径
    //    NSString *path = [[NSBundle mainBundle] pathForResource:@"high" ofType:@"png"];
    //    UIImage *heighImage = [UIImage imageWithContentsOfFile:path];
    //    self.maximumValueImage = heighImage;
    
    
    
    
}
@end
